#ifndef _MOTOR_H
#define _MOTOR_H

#include "stm32f4xx.h"                  // Device header

#define MI_OFF (GPIOB->ODR &= ~(1<<10))
#define MI_ON  (GPIOB->ODR |= (1<<10))
#define MI_OVERTURN   (GPIOB->ODR ^= (1<<10))

void motor_init(void);
#endif

